<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s"  uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setCharacterEncoding("utf-8");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath + "admin" %>"/>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link  rel="stylesheet" type="text/css" href="assets/plugins/bootstrap/css/bootstrap.css"/>
	<script type="text/javascript" src="assets/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="assets/plugins/bootstrap/js/bootstrap.js"></script>
	<link rel="stylesheet" type="text/css" href="assets/css/admin_frame.css"/>
  </head>
  
  <body>
    <div id="mainbox">
    	<div id="header">
    		<jsp:include page="../../Template/admin_top.jsp"></jsp:include>
    	</div>
    	<div id="content" class="well">
    		<div id="memberList">
    			<table class="table">
    			<thead>
    				<tr><th>用户名</th><th>角色</th><th>邮箱</th><th>注册时间</th><th>操作</th></tr>
    			</thead>
    			<s:iterator value="members" id="member">
    				<tr><td><s:property value="#member.name"/></td>
    					<td><s:property value="#member.role"/></td>
    					<td><s:property value="#member.email"/></td>
    					<td><s:date name="#member.regtime" format="yyyy-MM-dd HH:mm:ss"/></td>
    					<td><a href="admin/member_delete?id=<s:property value="#member.name"/>" title="删除">
    						<img alt="删除" src="assets/images/member/member_delete.png"/>
    						</a>
    					</td>
    				</tr>
    			</s:iterator>
    			</table>
    		</div>
    		<s:debug></s:debug>
    	</div>
    	<div id="footer" class="">
    		<p>bjava 分享平台技术中心</p>
	    	<p>© Cuit software 2012 </p>
    	</div>
    </div>
  </body>
</html>
